<div class="user-center-head"><?php echo L('balance_manage')?> <?php echo L('recharge');?></div>
<form action="<?php echo url('user/account_recharge')?>" method="post" name="myform">
  <ul class="user-center-fields">
    <li>
      <em><?php echo L('recharge_amount')?>:</em>
      <input type="text" name="amount" pattern="price" alt="<?php echo L('inputprice')?>" />
    </li>
    <li>
      <em><?php echo L('user_notes')?>:</em>
      <textarea name="user_note" pattern="required" alt="<?php echo L('empty_content')?>"></textarea>
    </li>
    <li>
      <em><?php echo L('choose_payment')?>:</em>
      <div class="grid">
        <table cellspacing="0" cellpadding="0" border="0">
          <tbody>
            <tr>
              <th width="25%"><?php echo L('payment_name')?></th>
              <th width="60%"><?php echo L('payment_ms')?></th>
              <th width="15%"><?php echo L('payment_fee')?></th>
            </tr>
            <?php $i=1; foreach ($paymentList as  $payment):?>
            <tr>
              <td>
                <label>
                  <input type="radio" name="payment" value="<?php echo $payment['name'];?>" <?php if($i==1)echo 'checked';?> />
                  <?php echo $payment['title']?>
                </label>
              </td>
              <td><?php echo $payment['description']?></td>
              <td><?php echo ($payment['poundage_type']==1) ? $payment['poundage'].'%' : currency($payment['poundage']);?></td>
              <!--<td bgcolor="#ffffff"><?php echo L('free_payment_fee')?></td>--> 
            </tr>
            <?php $i++; endforeach;?>
          </tbody>
        </table>
      </div>
    </li>
    <li>
      <em></em>
      <input type="hidden" name="process_type" value="0" />
      <input type="submit" name="dosubmit" value="<?php echo L('submission')?>" class="btn btn-middle" />
      <input type="reset" name="reset" value="<?php echo L('resetuser')?>" class="btn btn-middle" />
    </li>
  </ul>
</form>